home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1992-10-11 | 2.5 KB | [ TEXT/KAHL]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, Sun Oct 11 14:30:00 1992, modified Sun Oct 11 14:30:00 1992, creator Think C, type ASCII, 2006 bytes "menusharing.h" , at 0x856 340 bytes resource
default (weak)
99%
file
data
default
74%
TrID
Macintosh plain text (MacBinary)
default
25%
TrID
MacBinary 2
default (weak)
100%
siegfried
fmt/1762 MacBinary (II)
default
100%
lsar
MacBinary
default
id metadata key value macFileType [ TEXT] macFileCreator [ KAHL]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 0d 6d 65 6e 75 73 68 | 61 72 69 6e 67 2e 68 00 |..menush|aring.h.| |00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......| |00000050| 00 00 00 00 00 07 d6 00 | 00 01 54 a6 fe 23 28 a6 |........|..T..#(.| |00000060| fe 23 28 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.#(.....|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 98 cf 00 00 |........|........| |00000080| 0d 2f 2a a9 20 43 6f 70 | 79 72 69 67 68 74 20 31 |./*. Cop|yright 1| |00000090| 39 39 32 20 55 73 65 72 | 4c 61 6e 64 20 53 6f 66 |992 User|Land Sof| |000000a0| 74 77 61 72 65 2c 20 49 | 6e 63 2e 20 20 41 6c 6c |tware, I|nc. All| |000000b0| 20 52 69 67 68 74 73 20 | 52 65 73 65 72 76 65 64 | Rights |Reserved| |000000c0| 2e 2a 2f 0d 0d 0d 23 69 | 66 6e 64 65 66 20 5f 5f |.*/...#i|fndef __| |000000d0| 41 50 50 4c 45 45 56 45 | 4e 54 53 5f 5f 0d 0d 09 |APPLEEVE|NTS__...| |000000e0| 23 69 6e 63 6c 75 64 65 | 20 3c 41 70 70 6c 65 45 |#include| <AppleE| |000000f0| 76 65 6e 74 73 2e 68 3e | 0d 0d 23 65 6e 64 69 66 |vents.h>|..#endif| |00000100| 0d 0d 0d 23 64 65 66 69 | 6e 65 20 5f 5f 4d 45 4e |...#defi|ne __MEN| |00000110| 55 53 48 41 52 49 4e 47 | 5f 5f 20 2f 2a 73 6f 20 |USHARING|__ /*so | |00000120| 6f 74 68 65 72 20 6d 6f | 64 75 6c 65 73 20 63 61 |other mo|dules ca| |00000130| 6e 20 74 65 6c 6c 20 74 | 68 61 74 20 77 65 27 76 |n tell t|hat we'v| |00000140| 65 20 62 65 65 6e 20 69 | 6e 63 6c 75 64 65 64 2a |e been i|ncluded*| |00000150| 2f 0d 0d 0d 0d 74 79 70 | 65 64 65 66 20 73 74 72 |/....typ|edef str| |00000160| 75 63 74 20 74 79 73 68 | 61 72 65 64 6d 65 6e 75 |uct tysh|aredmenu| |00000170| 72 65 63 6f 72 64 20 7b | 20 2f 2a 6d 75 73 74 20 |record {| /*must | |00000180| 6d 61 74 63 68 20 73 63 | 72 69 70 74 69 6e 67 20 |match sc|ripting | |00000190| 73 79 73 74 65 6d 20 72 | 65 63 6f 72 64 20 73 74 |system r|ecord st| |000001a0| 72 75 63 74 75 72 65 2a | 2f 0d 09 0d 09 73 68 6f |ructure*|/....sho| |000001b0| 72 74 20 69 64 6d 65 6e | 75 3b 20 2f 2a 74 68 65 |rt idmen|u; /*the| |000001c0| 20 72 65 73 6f 75 72 63 | 65 20 69 64 20 6f 66 20 | resourc|e id of | |000001d0| 74 68 65 20 6d 65 6e 75 | 2a 2f 0d 09 0d 09 69 6e |the menu|*/....in| |000001e0| 74 20 66 6c 68 69 65 72 | 61 72 63 68 69 63 3a 20 |t flhier|archic: | |000001f0| 31 3b 20 2f 2a 69 66 20 | 74 72 75 65 20 69 74 27 |1; /*if |true it'| |00000200| 73 20 61 20 68 69 65 61 | 72 63 68 69 63 20 6d 65 |s a hiea|rchic me| |00000210| 6e 75 2a 2f 0d 09 0d 09 | 69 6e 74 20 66 6c 69 6e |nu*/....|int flin| |00000220| 73 65 72 74 65 64 3a 20 | 31 3b 20 2f 2a 69 66 20 |serted: |1; /*if | |00000230| 74 72 75 65 20 74 68 65 | 20 6d 65 6e 75 20 68 61 |true the| menu ha| |00000240| 73 20 62 65 65 6e 20 69 | 6e 73 65 72 74 65 64 20 |s been i|nserted | |00000250| 69 6e 20 74 68 65 20 6d | 65 6e 75 20 62 61 72 2a |in the m|enu bar*| |00000260| 2f 0d 09 0d 09 4d 65 6e | 75 48 61 6e 64 6c 65 20 |/....Men|uHandle | |00000270| 68 6d 65 6e 75 3b 20 2f | 2a 61 20 68 61 6e 64 6c |hmenu; /|*a handl| |00000280| 65 20 74 6f 20 74 68 65 | 20 4d 61 63 20 4d 65 6e |e to the| Mac Men| |00000290| 75 20 4d 61 6e 61 67 65 | 72 27 73 20 64 61 74 61 |u Manage|r's data| |000002a0| 20 73 74 72 75 63 74 75 | 72 65 2a 2f 0d 09 7d 20 | structu|re*/..} | |000002b0| 74 79 73 68 61 72 65 64 | 6d 65 6e 75 72 65 63 6f |tyshared|menureco| |000002c0| 72 64 3b 0d 0d 0d 74 79 | 70 65 64 65 66 20 74 79 |rd;...ty|pedef ty| |000002d0| 73 68 61 72 65 64 6d 65 | 6e 75 72 65 63 6f 72 64 |sharedme|nurecord| |000002e0| 20 74 79 6d 65 6e 75 61 | 72 72 61 79 20 5b 31 5d | tymenua|rray [1]| |000002f0| 3b 0d 0d 74 79 70 65 64 | 65 66 20 74 79 6d 65 6e |;..typed|ef tymen| |00000300| 75 61 72 72 61 79 20 2a | 2a 68 64 6c 6d 65 6e 75 |uarray *|*hdlmenu| |00000310| 61 72 72 61 79 3b 0d 0d | 74 79 70 65 64 65 66 20 |array;..|typedef | |00000320| 70 61 73 63 61 6c 20 42 | 6f 6f 6c 65 61 6e 20 28 |pascal B|oolean (| |00000330| 2a 74 79 4d 53 63 61 6c | 6c 62 61 63 6b 29 20 28 |*tyMScal|lback) (| |00000340| 76 6f 69 64 29 3b 0d 0d | 0d 74 79 70 65 64 65 66 |void);..|.typedef| |00000350| 20 73 74 72 75 63 74 20 | 74 79 4d 53 67 6c 6f 62 | struct |tyMSglob| |00000360| 61 6c 73 20 7b 20 2f 2a | 4d 65 6e 75 20 53 68 61 |als { /*|Menu Sha| |00000370| 72 69 6e 67 20 67 6c 6f | 62 61 6c 73 2c 20 61 6c |ring glo|bals, al| |00000380| 6c 20 69 6e 20 6f 6e 65 | 20 73 74 72 75 63 74 2a |l in one| struct*| |00000390| 2f 0d 0d 09 4f 53 54 79 | 70 65 20 73 65 72 76 65 |/...OSTy|pe serve| |000003a0| 72 69 64 3b 20 2f 2a 69 | 64 65 6e 74 69 66 69 65 |rid; /*i|dentifie| |000003b0| 72 20 66 6f 72 20 73 68 | 61 72 65 64 20 6d 65 6e |r for sh|ared men| |000003c0| 75 20 73 65 72 76 65 72 | 2a 2f 0d 0d 09 4f 53 54 |u server|*/...OST| |000003d0| 79 70 65 20 63 6c 69 65 | 6e 74 69 64 3b 20 2f 2a |ype clie|ntid; /*| |000003e0| 69 64 20 6f 66 20 74 68 | 69 73 20 61 70 70 6c 69 |id of th|is appli| |000003f0| 63 61 74 69 6f 6e 2a 2f | 0d 09 0d 09 68 64 6c 6d |cation*/|....hdlm| |00000400| 65 6e 75 61 72 72 61 79 | 20 68 73 68 61 72 65 64 |enuarray| hshared| |00000410| 6d 65 6e 75 73 3b 20 2f | 2a 64 61 74 61 20 73 74 |menus; /|*data st| |00000420| 72 75 63 74 75 72 65 20 | 74 68 61 74 20 68 6f 6c |ructure |that hol| |00000430| 64 73 20 73 68 61 72 65 | 64 20 6d 65 6e 75 73 2a |ds share|d menus*| |00000440| 2f 0d 09 0d 09 42 6f 6f | 6c 65 61 6e 20 66 6c 64 |/....Boo|lean fld| |00000450| 69 72 74 79 73 68 61 72 | 65 64 6d 65 6e 75 73 3b |irtyshar|edmenus;| |00000460| 20 2f 2a 69 66 20 74 72 | 75 65 2c 20 6d 65 6e 75 | /*if tr|ue, menu| |00000470| 73 20 61 72 65 20 72 65 | 6c 6f 61 64 65 64 20 6e |s are re|loaded n| |00000480| 65 78 74 20 74 69 6d 65 | 20 61 70 70 20 63 6f 6d |ext time| app com| |00000490| 65 73 20 74 6f 20 66 72 | 6f 6e 74 2a 2f 0d 09 0d |es to fr|ont*/...| |000004a0| 09 42 6f 6f 6c 65 61 6e | 20 66 6c 73 63 72 69 70 |.Boolean| flscrip| |000004b0| 74 63 61 6e 63 65 6c 6c | 65 64 3b 20 2f 2a 73 65 |tcancell|ed; /*se| |000004c0| 74 20 74 72 75 65 20 62 | 79 20 63 61 6c 6c 69 6e |t true b|y callin| |000004d0| 67 20 43 61 6e 63 65 6c | 53 68 61 72 65 64 53 63 |g Cancel|SharedSc| |000004e0| 72 69 70 74 2a 2f 0d 09 | 0d 09 42 6f 6f 6c 65 61 |ript*/..|..Boolea| |000004f0| 6e 20 66 6c 73 63 72 69 | 70 74 72 75 6e 6e 69 6e |n flscri|ptrunnin| |00000500| 67 3b 20 2f 2a 74 72 75 | 65 20 69 66 20 61 20 73 |g; /*tru|e if a s| |00000510| 63 72 69 70 74 20 69 73 | 20 63 75 72 72 65 6e 74 |cript is| current| |00000520| 6c 79 20 72 75 6e 6e 69 | 6e 67 2a 2f 0d 09 0d 09 |ly runni|ng*/....| |00000530| 74 79 4d 53 63 61 6c 6c | 62 61 63 6b 20 73 63 72 |tyMScall|back scr| |00000540| 69 70 74 63 6f 6d 70 6c | 65 74 65 64 63 61 6c 6c |iptcompl|etedcall| |00000550| 62 61 63 6b 3b 20 2f 2a | 69 66 20 6e 6f 6e 2d 6e |back; /*|if non-n| |00000560| 69 6c 2c 20 69 74 27 73 | 20 63 61 6c 6c 65 64 20 |il, it's| called | |00000570| 77 68 65 6e 20 74 68 65 | 20 73 63 72 69 70 74 20 |when the| script | |00000580| 63 6f 6d 70 6c 65 74 65 | 73 2a 2f 0d 09 0d 09 6c |complete|s*/....l| |00000590| 6f 6e 67 20 69 64 73 63 | 72 69 70 74 3b 20 2f 2a |ong idsc|ript; /*| |000005a0| 74 68 65 20 73 65 72 76 | 65 72 27 73 20 69 64 20 |the serv|er's id | |000005b0| 66 6f 72 20 74 68 65 20 | 63 75 72 72 65 6e 74 6c |for the |currentl| |000005c0| 79 20 72 75 6e 6e 69 6e | 67 20 73 63 72 69 70 74 |y runnin|g script| |000005d0| 2c 20 6d 61 6b 65 73 20 | 69 74 20 65 61 73 79 20 |, makes |it easy | |000005e0| 74 6f 20 6b 69 6c 6c 20 | 69 74 2a 2f 0d 09 7d 20 |to kill |it*/..} | |000005f0| 74 79 4d 53 67 6c 6f 62 | 61 6c 73 3b 0d 0d 0d 65 |tyMSglob|als;...e| |00000600| 78 74 65 72 6e 20 74 79 | 4d 53 67 6c 6f 62 61 6c |xtern ty|MSglobal| |00000610| 73 20 4d 53 67 6c 6f 62 | 61 6c 73 3b 20 2f 2a 6d |s MSglob|als; /*m| |00000620| 65 6e 75 20 73 68 61 72 | 69 6e 67 20 67 6c 6f 62 |enu shar|ing glob| |00000630| 61 6c 73 2a 2f 0d 0d 0d | 2f 2a 62 61 73 69 63 20 |als*/...|/*basic | |00000640| 4d 65 6e 75 20 53 68 61 | 72 69 6e 67 20 72 6f 75 |Menu Sha|ring rou| |00000650| 74 69 6e 65 73 2a 2f 0d | 0d 09 70 61 73 63 61 6c |tines*/.|..pascal| |00000660| 20 42 6f 6f 6c 65 61 6e | 20 49 6e 69 74 53 68 61 | Boolean| InitSha| |00000670| 72 65 64 4d 65 6e 75 73 | 20 28 76 6f 69 64 29 3b |redMenus| (void);| |00000680| 0d 0d 09 70 61 73 63 61 | 6c 20 42 6f 6f 6c 65 61 |...pasca|l Boolea| |00000690| 6e 20 53 68 61 72 65 64 | 4d 65 6e 75 48 69 74 20 |n Shared|MenuHit | |000006a0| 28 73 68 6f 72 74 2c 20 | 73 68 6f 72 74 29 3b 0d |(short, |short);.| |000006b0| 09 0d 09 70 61 73 63 61 | 6c 20 42 6f 6f 6c 65 61 |...pasca|l Boolea| |000006c0| 6e 20 53 68 61 72 65 64 | 53 63 72 69 70 74 52 75 |n Shared|ScriptRu| |000006d0| 6e 6e 69 6e 67 20 28 76 | 6f 69 64 29 3b 0d 09 0d |nning (v|oid);...| |000006e0| 09 70 61 73 63 61 6c 20 | 42 6f 6f 6c 65 61 6e 20 |.pascal |Boolean | |000006f0| 43 61 6e 63 65 6c 53 68 | 61 72 65 64 53 63 72 69 |CancelSh|aredScri| |00000700| 70 74 20 28 76 6f 69 64 | 29 3b 0d 09 0d 09 70 61 |pt (void|);....pa| |00000710| 73 63 61 6c 20 42 6f 6f | 6c 65 61 6e 20 43 68 65 |scal Boo|lean Che| |00000720| 63 6b 53 68 61 72 65 64 | 4d 65 6e 75 73 20 28 73 |ckShared|Menus (s| |00000730| 68 6f 72 74 29 3b 0d 09 | 0d 09 70 61 73 63 61 6c |hort);..|..pascal| |00000740| 20 42 6f 6f 6c 65 61 6e | 20 53 68 61 72 65 64 53 | Boolean| SharedS| |00000750| 63 72 69 70 74 43 61 6e | 63 65 6c 6c 65 64 20 28 |criptCan|celled (| |00000760| 41 70 70 6c 65 45 76 65 | 6e 74 20 2a 2c 20 41 70 |AppleEve|nt *, Ap| |00000770| 70 6c 65 45 76 65 6e 74 | 20 2a 29 3b 0d 09 0d 0d |pleEvent| *);....| |00000780| 2f 2a 73 70 65 63 69 61 | 6c 2d 70 75 72 70 6f 73 |/*specia|l-purpos| |00000790| 65 20 72 6f 75 74 69 6e | 65 73 2a 2f 0d 0d 09 70 |e routin|es*/...p| |000007a0| 61 73 63 61 6c 20 42 6f | 6f 6c 65 61 6e 20 44 69 |ascal Bo|olean Di| |000007b0| 73 70 6f 73 65 53 68 61 | 72 65 64 4d 65 6e 75 73 |sposeSha|redMenus| |000007c0| 20 28 76 6f 69 64 29 3b | 0d 0d 09 70 61 73 63 61 | (void);|...pasca| |000007d0| 6c 20 42 6f 6f 6c 65 61 | 6e 20 49 73 53 68 61 72 |l Boolea|n IsShar| |000007e0| 65 64 4d 65 6e 75 20 28 | 73 68 6f 72 74 29 3b 0d |edMenu (|short);.| |000007f0| 09 0d 09 70 61 73 63 61 | 6c 20 42 6f 6f 6c 65 61 |...pasca|l Boolea| |00000800| 6e 20 45 6e 61 62 6c 65 | 53 68 61 72 65 64 4d 65 |n Enable|SharedMe| |00000810| 6e 75 73 20 28 42 6f 6f | 6c 65 61 6e 29 3b 0d 09 |nus (Boo|lean);..| |00000820| 0d 09 70 61 73 63 61 6c | 20 42 6f 6f 6c 65 61 6e |..pascal| Boolean| |00000830| 20 52 75 6e 53 68 61 72 | 65 64 4d 65 6e 75 49 74 | RunShar|edMenuIt| |00000840| 65 6d 20 28 73 68 6f 72 | 74 2c 20 73 68 6f 72 74 |em (shor|t, short| |00000850| 29 3b 0d 09 0d 09 00 00 | 00 00 00 00 00 00 00 00 |);......|........| |00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000880| 00 00 01 00 00 00 01 36 | 00 00 00 36 00 00 00 1e |.......6|...6....| |00000890| 0c 4e ad 01 1a 42 7a 5b | 61 12 04 80 00 00 11 0b |.N...Bz[|a.......| |000008a0| f4 6d 80 01 02 06 f8 11 | 63 6c 01 63 6d 80 02 00 |.m......|cl.cm...| |000008b0| 0d 6d 65 6e 75 73 68 61 | 72 69 6e 67 2e 68 02 00 |.menusha|ring.h..| |000008c0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......| |000008d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......| |000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000008f0| 00 00 a9 81 44 da 00 00 | 00 00 00 00 01 54 01 01 |....D...|.....T..| |00000900| 42 33 01 00 f5 80 12 01 | 6a 04 80 02 02 f5 07 08 |B3......|j.......| |00000910| 80 01 04 b0 f8 02 00 fb | f5 fd 80 01 02 a0 f8 69 |........|.......i| |00000920| e4 80 01 04 36 33 01 02 | f2 80 01 02 24 33 01 04 |....63..|....$3..| |00000930| 0b 80 36 66 01 f8 f2 80 | 01 04 4e f8 5e 01 02 05 |..6f....|..N.^...| |00000940| 80 01 02 3a f8 6f 01 00 | fe 80 01 01 e4 33 01 01 |...:.o..|.....3..| |00000950| 01 80 11 02 0a 33 74 80 | 01 01 a0 f8 a1 01 f2 fd |.....3t.|........| |00000960| 80 01 02 2e 6b 01 04 b2 | 55 cc 11 72 01 02 24 0b |....k...|U..r..$.| |00000970| 66 16 c1 01 70 22 12 2f | 00 4e ad 01 01 ba 67 01 |f...p"./|.N....g.| |00000980| 00 00 00 2f 02 00 80 00 | 00 00 06 32 2e 30 72 63 |.../....|...2.0rc| |00000990| 31 21 32 2e 30 72 63 31 | 3b 20 a9 20 31 39 39 32 |1!2.0rc1|; . 1992| |000009a0| 2c 20 55 73 65 72 4c 61 | 6e 64 20 53 6f 66 74 77 |, UserLa|nd Softw| |000009b0| 61 72 65 65 72 65 00 00 | 01 00 00 00 01 36 00 00 |areere..|.....6..| |000009c0| 00 36 00 00 00 1e 00 ed | cb 18 0d 98 00 00 00 1c |.6......|........| |000009d0| 00 1e ff ff 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+